package com.test.webdemo.servlet;

import org.springframework.web.servlet.View;
import org.springframework.web.servlet.view.InternalResourceViewResolver;

import java.util.Locale;

public class TrackableViewResolver extends InternalResourceViewResolver {
    @Override
    protected View createView(String viewName, Locale locale) throws Exception {
        RequestTracker.logStep("8. 解析视图: " + viewName);
        return super.createView(viewName, locale);
    }
}
